package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderDao;
import com.appkubes.mall.core.entity.MallOrder;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderService extends AbstractBaseService<BaseMallOrderDao, MallOrder> {

    MallOrder getOneByEntity(MallOrder entity);

    List<MallOrder> selectListByEntity(MallOrder entity);

    IPage<MallOrder> selectPageByEntity(IPage<MallOrder> page);
    IPage<MallOrder> selectPageByEntity(PageVO pageVO);

    IPage<MallOrder> selectPageByEntity(MallOrder entity, IPage<MallOrder> page);
    IPage<MallOrder> selectPageByEntity(MallOrder entity, PageVO pageVO);

    IPage<MallOrder> selectPageByEntity(MallOrder entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrder entity);
}
